Paging<TKey>(Expression<Func<T,TKey>>,Boolean,Int32) Method
In This Topic
Applies paging to this
client view.
Syntax
'Declaration
Public Overloads Function Paging(Of )( _
ByVal As System.Linq.Expressions.Expression(Of Func(Of T,TKey)), _
ByVal As System.Boolean, _
ByVal As System.Integer _
) As PagingView(Of T)
public PagingView<T> Paging<>(
System.Linq.Expressions.Expression<Func<T,TKey>> ,
System.bool ,
System.int
)
Parameters
- sortKeySelector
- A function specifying a sort key.
- ascending
- A boolean value indicating whether sorting must be performed in the ascending order (descending, if false).
- pageSize
- A value for the PageSize property, the number of items to load in a page.
Type Parameters
- TKey
- The type of the sort key.
Return Value
See Also